﻿Shader "Dk/ProjectTest"
{
    
	Properties
    {
        _MainTex ("Texture", 2D) = "white" {}
        _Color("color",COLOR) = (1,1,1,1)
		_ClipValue("ClipValue",float) =0
    }
    SubShader
    {
        Tags { "RenderType"="Opaque" }
        LOD 100
	
        Pass
        {
            HLSLPROGRAM
            #pragma target 3.5

//            #pragma mulit_compile_instancing
            #pragma multi_compile_instancing

			#pragma vertex vert 
            #pragma fragment frag 
            #include "Test.hlsl"
            ENDHLSL
	    }
		Pass {
				Tags {
				"LightMode" = "ShadowCaster"
			}
			
			HLSLPROGRAM
			
			#pragma target 3.5
			
			#pragma multi_compile_instancing
			#pragma instancing_options assumeuniformscaling
			
			#pragma vertex ShadowCasterPassVertex
			#pragma fragment ShadowCasterPassFragment
			
			#include "ShadowCaster.hlsl"
			
			ENDHLSL
		}
	}
}
